//取消按钮设置
@mixin closeBtn{
    cursor: pointer;
    font-size: 20px;
}
//textarea的样式设置
@mixin textareaSet{
    outline: none;
    border-radius: 5px;
    border: none;
    padding: 5px 10px;
    font-weight: 500;
    background-color:white;
    &:hover{
        background-color: #f9f9f9;
    }
}
//确定按钮设置样式
@mixin confirmBtn{
    padding: 7px 15px;
    border-radius: 5px;
    margin-right: 10px;
    color: white;
    background-color: rgb( 56,179,148);
    &:hover{
        background-color: rgb( 51,166,137);
    }
    &:active{
        background-color: rgb(39, 125, 103);
    }
}
//取消按钮设置样式
@mixin cancelBtn{
    padding: 7px 15px;
    border-radius: 5px;
    margin-right: 10px;
    color: white;
    background-color: rgb(230, 84,103);
    &:hover{
        background-color: rgb(229, 70, 90);
    }
    &:active{
        background-color: rgb(166, 40, 41);
    }
}
//批量按钮设置
@mixin batchBtn{
    padding: 7px 10px;
    border-radius:5px;
    margin-right: 10px;
    color: white;
    background-color: rgb( 67,198,199);
    &:hover{
        background-color: rgb( 62,185,186);
    }
    &:active{
        background-color: rgb( 59,154,187);
    }
}
//搜索按钮设置
@mixin searchBtn{
    padding: 7px 15px;
    border-radius:5px;
    margin-right: 10px;
    color: white;
    background-color: rgb(  66,141,238);
    &:hover{
        background-color: rgb(56, 134, 237);
    }
    &:active{
        background-color: rgb(29, 121, 241);
    }
}
//alert封装
.alert{
    display: none;
    width: 230px;
    height: 70px;
    color: red;
    text-align: center;
    position: absolute;
    border-radius: 6px;
    top: 10%;
    left: 50%;
    background-color: white;
    opacity: 1.5;
    line-height: 70px;
    box-shadow: 0 0 9px 1px #E5E0E0;
    transform: translate(-50%);
    font-size: 17px;
    z-index: 10087;
}
button{
    outline: none;
    background-color: transparent;
    border: none;
    cursor: pointer;
}
*{
    margin: 0;
    padding: 0;
}
body{
    min-width: 800px;
}
@for $i from 8 through 1 {
    @media (max-width: (1420px - (8 - $i) * 60px))  { 
      .top_bar_li:nth-of-type(#{$i}) {
            display: none;
        }
    }
}
.top_bar{
    min-width: 920px;
    height: 64px;
    width: 100%;
    background-color: white;
    box-shadow: 0 -17px 20px 1px black;
    position: fixed;
    top: 0;
    z-index: 500;
}
.top_bar_box{
    margin: 0 24px;
    width: calc(100% - 48px);
    height: 100%;
    position: relative;
    display: flex;
    h3{
        color: black;
        font-size: 30px;
        display: inline-block;
        line-height: 44px;
        bottom: 10px;
    }
}
.top_bar_ul{
    list-style: none;
    display: inline-block;
    padding: 19px 0;
    li{
        float: left;
        margin-left: 24px;
        a{
            color: black;
            text-decoration: none;
            font-size: 18px;
            font-weight: 400;
            &:hover{
                color: gray;
            }
        }
    }
}
.top_bar_search_box{
    width: 440px;
    height: 40px;
    background-color: rgb(245,245,245);
    border-radius: 10px;
    display: flex;
    margin: 12px 0;
    position: relative;
    input{
        outline: none;
        border: none;
        height: 100%;
        width: 70%;
        background-color: rgb(245,245,245);
        padding-left: 15px;
        border-radius: 10px;
        font-size: 18px;
    }
}
.search_button{
    outline: none;
    border: none;
    height: 100%;
    flex-grow: 1;
    background-color:rgb(245,245,245) ;
    border-radius: 10px;
    cursor: pointer;
    &::after{
        content: "";
        display: inline-block;
        width: 1px;
        height: 50%;
        position: absolute;
        top: 25%;
        right: 117px;
        background-color: rgba(151, 151, 151,0.6);
    }
    i{
        margin-right:8px ;
        font-size: 20px;
        color: rgb(233, 64, 70);
    }
    span{
        font-size: 20px;
        color:rgb(233, 64, 70) ;
    }
}
.top_bar_NAP{
    display:inline-flex;
    height:100%;
    width: 252px;
    align-items: center;
}
.iconfont{
    font-size: 30px;
}
.red_point{
    position: absolute;
    z-index: 2;
    display:none;
    width: 18px;
    height: 18px;
    left: 10px;
    border-radius:50% ;
    background-color: red;
    color: white;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 18px;
}
.top_bar_news{
    flex-grow: 1;
    display: inline-block;
    padding: 17.5px 0;
    padding-left: 10px;
    .top_bar_news_box{
        position: relative;
        color: black;
        text-decoration: none;
        span:hover,i:hover{
            color: gray;
        }
        i{
            font-size: 23px;
        }
        span{
            font-size: 20px;
        }
    }
}
.news_dropdown{
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    list-style: none;
    position: absolute;
    z-index: 2;
    top:64px;
    left:0px;
    background-color: white;
    border-radius:10px;
    box-shadow: 0 10px 30px -20px black;
    transition: 0.3s;
    li{
        padding: 10px 20px;
        font-size: 15px;
        cursor: pointer;
        &:hover{
            background-color: rgb(245,245,245);
        }
    }
}
.top_bar_publish{
    flex-grow: 1;
    display: inline-block;
    padding: 17.5px 0;
    .top_bar_publish_box{
        color: black;
        text-decoration: none;
        &:hover{
            color: gray;
        }
        i{
            font-size: 20px;
        }
        span{
            font-size: 20px;
        }
    }
    
}
.publish_dropdown{
    @extend .news_dropdown;
    left: -5px;
    li{
         padding: 10px 17px;
    }
}
.top_bar_personal{
    flex-grow: 1;
    display: inline-block;
    position: relative;
    .top_bar_personal_box{
        img{
            border-radius: 50%;
        }
    }
}
.personal_dropdown{
    @extend .news_dropdown;
    top: 48px;
    left:-38px;
    li{
        padding: 10px 17px;
    }
}
//个人主页信息部分展示
.user_information{
    margin-top: 64px;
    height: 280px;
    width: calc(100% - 0px);
    //background-color: antiquewhite;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgb(254, 248, 248), white);
}
.user_information_box{
    width: 1034px;
    height: 200px;
    display: flex;
    a{
        border-radius:50% ;
        display: inline-block;
        margin-right: 40px;
    }
    .profile{
        width: 130px;
        height: 130px;
        border-radius: 50%;
    }
    .icon-vbiao{
        position: relative;
        cursor: pointer;
        font-size: 23px;
        color: white;
        background-color: rgb(106,153,252);
        right:80px;
        border-radius: 50%;
        z-index: 2;
    }
}
.user_message{
    //background-color: aquamarine;
}
.user_name{
    padding-left: 10px;
    padding-top: 10px;
    font-size: 24px;
    font-weight: 600;
}
.member_sta{
    display: inline-block;
    margin-left: 10px;
    font-size: 14px;
    color: rgb(55, 55, 55);
    cursor: pointer;
    &:hover{
        color:rgb(110, 109, 109) ;
    }
}
.to_open_vip{
    font-size: 17px;
}
.user_data{
    margin-top: 10px;
    div{
        display: inline-block;
        padding-left: 10px;
        font-weight: 300;
        font-size: 15px;
        cursor: pointer;
        span{
            font-size: 24px;
            font-weight: 700;
            margin-right: 5px;
        }
    }
}
.verified_u{
    padding-left: 10px;
    margin-top: 20px;
    font-size: 18px;
}
.brief_introduction_u{
    padding-left: 10px;
    margin-top:10px;
    font-size: 18px;
}
.more_message{
    padding-left: 10px;
    margin-top: 30px;
    cursor: pointer;
    display: inline-block;
}
.setting{
    display: inline-block;
    padding-left: 20px;
    i{
        font-size: 20px;
        cursor: pointer;
    }
}

//右侧粉丝和关注栏
.showModal_fa{
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0,0,0,0.1);
    z-index: 10085;
    display: none;
}
.tc-fans-attention{
    position:fixed;
    top: 0;
    width: 0px;
    background-color: white;
    height: 100%;
    right:0;
    transition: 0.2s;
    transform-origin: right;
    z-index: 10086;
    overflow: auto;
}
.fansORattention{
    position: fixed;
    padding-left: 24px;
    padding-top: 20px;
    height: 60px;
    width: 100%;
    background-color: white;
    z-index: 2;
    div{
        position: relative;
        display: inline-block;
    }
}
.fans_list_btn,.attention_list_btn{
    display: inline-block;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
}
.attention_list_btn{
    padding-left: 35px;
}
#close_fansORattention{
    font-size: 18px;
    margin-left: 180px;
    position: relative;
    bottom: 5px;
    cursor: pointer;
}
.FA_active{
    &::after{
        content: "";
        display: inline-block;
        background-color: rgb(233, 64, 70);
        width:30px;
        height: 3px;
        position: absolute;
        top: 32px;
        right: 15px;
    }
}
.fans_list{
    width: 100%;
    height: calc(100vh - 80px);
    position: absolute;
    bottom: 0;
    display: none;
}
.attention_list{
    @extend .fans_list;
}

//个人资料弹窗
.showModal{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    position: fixed;
    display: none;
    z-index:10085;
    top: 0;
    left: 0;
}
.personal_message_tc_box{
    position: fixed;
    display: none;
    z-index:10086;
    background-color: white;
    width:450px;
    height: 530px;
    left: calc((100% - 450px)/2);
    top: calc((100% - 600px)/2);
    border-radius: 15px;
    scale: 0;
    transition: 0.3s;
}
.personal_message_title{
    font-size: 24px;
    font-weight: 500;
    margin: 20px;
    color: rgb(233, 64, 70);
    display: inline-block;
}
#close_personalMessage{
    position: absolute;
    font-size: 24px;
    right: 30px;
    top: 20px;
    cursor: pointer;
}
.div_p{
    font-size: 20px;
    font-weight: 400;
    margin-left: 40px;
    margin-top: 20px;
}
.to_verified_p{
    margin-left: 5px;
    font-size: 20px;
    cursor: pointer;
}
.register_time_p{
    position: absolute;
    font-size: 14px;
    color: rgb(55, 55, 55);
    left: 20px;
    bottom: 30px;
}
.user_profile_p{
    position: absolute;
    right:60px;
    top: 90px;
    img{
        border-radius: 50%;
        width: 100px;
        height: 100px;
    }
    .icon-vbiao{
        position: relative;
        cursor: pointer;
        font-size: 23px;
        color: white;
        background-color: rgb(106,153,252);
        right: 30px;
        border-radius: 50%;
        z-index: 2;
    }
}
.close_personalMessage2{
    outline: none;
    border: none;
    border-radius: 5px;
    background-color: #ed5565;
    color: white;
    width: 70px;
    height: 30px;
    position: absolute;
    bottom: 40px;
    right: 70px;
    cursor: pointer;
    &:hover{
        background-color: #e24252;
    }
    &:active{
        background-color: #f6182e;
    }
}
//个人文章等内容展示区
.main_body{
    width:1034px;
    height: 800px;
    margin:0 calc((100% - 1034px)/2);
    //background-color:antiquewhite;
    display: flex;
}
.main-right{
    margin-left: 20px;
    flex-grow: 1;
}
@media (max-width:1034px){
    .main_body{
        width:1034px;
        height: 800px;
        margin:0;
        //background-color:antiquewhite;
        display: flex;
    }
}
@media (max-width:800px){
    .main_body{
        width:800px;
        height: 800px;
        //background-color:antiquewhite;
        display: flex;
    }
    .main-right{
        display: none;
    }
}
.main_left{
    width: 850px;
    //background-color: aqua;
}
.my_message_title{
    height: 45px;
    width: 100%;
    position: relative;
    display: flex;
    background-color: white;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
    div{
        margin-left: 25px;
        position: relative;
        div{
            font-size: 19px;
            font-weight: 400;
            line-height: 45px;
            cursor: pointer;
        }
    }
}
.search_my_box{
    height: 45px;
    width: 100%;
    position: relative;
    display: none;
    background-color: white;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
    i{
        line-height: 45px;
        margin-left: 10px;
        color: rgb(110, 109, 109);
    }
    .search_my_input{
        width: 480px;
        height: 100%;
        outline: none;
        border: none;
        background-color: transparent;
        font-size: 18px;
        padding-left: 5px;
    }
    #search_my_confirm,#search_my_cancel{
        font-size: 18px;
        margin: 0px 21px;
        line-height: 45px;
        cursor:pointer;
    }
    #search_my_confirm::after{
        content: "";
        display: inline-block;
        width: 1px;
        height: 20px;
        background-color: rgba(151, 151, 151, 0.6);
        position: relative;
        left: 20px;
        top: 3px;
    }
    #search_my_cancel{
        color: rgb(110, 109, 109);
    }
}

.active_mmt{
    color: rgb(233, 64, 70);
    &::after{
        position: absolute;
        content: "";
        display: inline-block;
        background-color: rgb(233, 64, 70);
        bottom: 0;
        width: 20px;
        height: 1.5px;
        left: 10px;
    }
}
.search_my{
    font-size: 30px;
    right: 15px;
    margin: 12.5px 0;
    position: absolute;
    cursor: pointer;
}

.article{
    display: flex;
    height: 200px;
    width: 100%;
}
//设置个人信息弹窗
#user-setting-tc{
    transition: 0.3s;
    transform: scale(0);
    display: none;
    border-radius: 10px;
    width:900px;
    position: fixed;
    top: calc((100% - 600px)/2);
    left: calc((100% - 900px)/2);
    background-color:white;
    z-index: 10086;
    min-height: 400px;
  }
  #user-profile-d{
    width:150px;
  }
  #user-profile{
    position: relative;
    top: 50px;
    left: 20px;
    width:110px;
    height: 110px;
    border-radius: 3px;
    background-size: cover;
    text-align: center;
    color: white;
    i{
      font-size: 25px;
    }
  }
  #user-profile-shade{
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
  }
  #user-set-d{
    width: 700px;
    margin: 20px 25px 20px 0;
    flex-grow: 1;
  }
  #user-dataOrprivacy{
    width: 100%;
    height: 50px;
    position: relative;
    display: flex;
    .user-set-title{
      position: relative;
      width:50%;
      height: 100%;
    }
  }
  .to-setdp{
    display: inline-block;
    width:100%;
    height: 100%;
    text-align: center;
    line-height:50px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
  }
  .active-sdp{
    color: rgb(233, 64, 70);
    &::after{
      content: "";
      display: inline-block;
      background-color: rgb(233,64,70);
      height: 1.5px;
      width: 100px;
      position: absolute;
      left: 130px;
      bottom: 10px;
    }
  }
  #user-data-set{
    display: block;
    width:100%;
    height:410px;
  }
  #user-name-d{
    font-size: 30px;
    font-weight: 500;
    display: inline-block;
    margin: 20px 15px 30px 15px;
    #user-set-name{
      cursor: pointer;
      margin-left: 10px;
      font-size: 18px;
      color: rgb(  9, 64,142);
      display: inline-block;
    }
  }
  #user-name-d2{
    display: none;
    margin: 20px 15px 30px 15px;
  }
  #user-set-gender{
    margin: 15px 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(79, 79, 79,0.3);
  }
  .user-set-class{
    margin-right: 30px;
  }
  #user-set-introduce,#user-set-address{
    padding-bottom: 15px;
    margin: 40px 15px;
    border-bottom: 1px solid rgba(79, 79, 79,0.3);
  }
  .user-set-inp{
    font-size: 18px;
    background-color: transparent;
    border: none !important;     
    outline: none;
    box-shadow: none;
    width:500px;
    padding: 15px 0px; 
  }
  #user-set-btn{
    position: relative;
    left: 450px;
  }
  #confirm-user-set{
    @include confirmBtn();
    margin-right: 50px;
  }
  #cancel-user-set{
    @include cancelBtn();
  }
  #showModal-user-set{
    display: none;
    background-color: rgba(0, 0, 0, 0.1);
  }
  #confirm-user-name{
    cursor: pointer;
  }
  #user-privacy-set{
    display: none;
    width:100%;
  }
  .apst{
    margin:40px 15px;
    border-bottom: 1px solid rgba(79, 79, 79,0.3);
  }
  #user-email-d,#user-password-d1,#user-password-d2{
    font-size: 18px;
    font-weight: 500;
    padding: 10px;
    display: block;
  }
  #change-password{
    position: relative;
    left: 320px;
    font-size: 17px;
    cursor: pointer;
    &:hover{
      color: #655b5b;
    }
  }
  #user-password-inp1{
    margin-top: 0;
  }
  #confirm-change-password{
    @include confirmBtn();
    margin-left: 15px;
    position: relative;
    bottom: 5px;
  }
  #send-code{
    position: relative;
    right: 5px;
    font-size: 15px;
    padding: 3px 5px ;
    background-color: transparent;
    &:hover{
      color: #655b5b;
    }
  }
  .user-password-eyes{
    cursor: pointer;
    font-size: 18px;
  }
  #new-password-eye2{
    position: relative;
    right:18px;
  }
  input[type="password"]::-ms-reveal{     /*去除密码输入框自带的小眼睛*/
    display:none
  }
  .error-message{
    color: red;
    font-size: 15px;
    position: relative;
    left: 10px;
    display:none;
  }
  //内容展示
  .without-content{
    width: 100%;
    height: 300px;
    position: relative;
    color: rgba(0,0,0,0.6);
    display: block;
    i{
        font-size: 100px;
        margin:50px calc((100% - 100px)/2) 0;
        position: relative;
        top: 50px;
    }
    span{
        position: absolute;
        top: 170px;
        left:47%;
    }
  }

  .news-contents{
    display: flex;
    width: 100%;
    position: relative;
    margin: 5px 0;
  }
  .news-image{
    position: absolute;
    top: 10px;
    right: 20px;
    transition: 0.2s;
    &:hover{
        transition: 0.2s;
        transform: scale(1.01);
    }
  }
  .news-image a img{
    width:150px;
    height: 95px;
    border-radius: 10px;
    cursor: pointer;
  }
  .feed-card{
    max-width: 480px;
    padding: 15px;
  }
  .title{
    display: block;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
    margin-bottom: 40px;
    cursor: pointer;
    transition: 0.1s;
    &:hover{
        color: red;
        transition: 0.1s;
    }
  }
  .feed-card-bottom{
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #777;
  }
  .comments-num{
    margin-right: 20px;
  }
  //粉丝和关注列表
.fans-card{
    display: flex;
    text-align: center;
    box-sizing: border-box;
    padding: 0 24px;
    height: 76px;
    cursor: pointer;
    align-items: center;
    color: black;
    text-decoration: none;
    &:hover{
        background-color: rgb(248,248,248);
    }
}
.jump-fans-page{
    flex: 1 1;
    -ms-flex-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 32px;
    display: flex;
    align-items: center;
    width: 300px;
    height: 44px;
    text-decoration: none;
}
.follow-btn{
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border: none;
    border-radius: 6px;
    width: 64px;
    height: 32px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #222;
    background: #f8f8f8;
    cursor: pointer;
}
.fans-avatar{
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
.fans-name{
    text-align:left;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #222;
    text-decoration: none;
}
.fans-info-f{
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 20px;
    color: #707070;
    text-decoration: none;
}
.fans-info{
    padding-left: 20px;
}
.hasNone{
    text-align: center;
    width: 340px;
    height: 22px;
    margin:30px 0 44px 80px;
    font-size: 16px;
    line-height: 22px;
    color: #999;
    cursor: default;
}
.more-user{
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    margin: 30px 0 44px 80px;
    padding: 11px 0;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    width: 340px;
    color: #222;
    background: #f8f8f8;
    cursor: pointer;
}
.moreP{
    display: inline-block;
    position: relative;
    padding-right: 18px;
}
.hasNone1{
    position: relative;
    left: 50px;
    padding-bottom: 30px;
}
.nav-lef-wei{
    width: 80px;
    height: 44px;
    background-color: #f90808;
    border-radius: 9px / 7px;
    display: inline-block;
    text-align: center;
    line-height: 41px;
    color: white;
    font-weight: bold;
    font-family: FangSong_GB2312;
    margin-top: 10px;
    font-size: 34px;
    padding-right: 1px;
}
//其它用户个人主页的关注按钮
.not-concerned{
    border-radius: 4px;
    width: 180px;
    height: 36px;
    color: #fff;
    background: #f04142;
    text-align: center;
    line-height: 36px;
    position: relative;
    left: 200px;
    top: 50px;
    cursor: pointer;
    span{
        font-size: 14px;
    }
}
.concerned{
   @extend .not-concerned;
    color: #939292;
    background: #eae7e7;
}
